package org.springblade.core.tool.constant;


public class RoleConstant {
    public static final String ADMIN = "administrator";
    public static final String HAS_ROLE_ADMIN = "hasRole('administrator')";
    public static final String COMMON_ADMIN = "admin";
    public static final String HAS_ROLE_COMMON_ADMIN = "hasRole('admin')";
    public static final String LEADER = "leader";
    public static final String HAS_ROLE_LEADER = "hasRole('leader')";
    public static final String MEMBER = "member";
    public static final String HAS_ROLE_MEMBER = "hasRole('member')";
    public static String[] adminRoleList = new String[] {ADMIN, COMMON_ADMIN, LEADER};

    public RoleConstant() {
    }
}
